<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>

	
<title>XXX平台商家端</title>	

	
<!--内容样式-->
<link rel="stylesheet" href="__PUBLIC__/Home/supplier/css/style.css" />
<link rel="stylesheet" href="__PUBLIC__/Home/css/page.css" />

<style type="text/css">
	.cttp-wz{
		position: relative;
	}
	.cttp-wz .cttpw-sl{
		position: absolute;
		left: 0;
		bottom: 0;
	}
</style>
	
</head>



<body>

	
	<div class="main">
	
	
		<!--  头部  -->
		<include file="head" />
		
		
		<!--  左侧导航  -->
		<div class="nav">
			<div class="na-title">
				<img src="__PUBLIC__/Home/supplier/images/icon_ml.png" />
				<div class="nat-mc">目录</div>
				<div class="divclear"></div>
			</div>
			<div class="na-box">
				<a href="{:U('order_index')}" <if condition="$cur eq '交易管理'">class="nab-btn cur"<else/>class="nab-btn"</if>>全部订单</a>
				<a href="{:U('order_delivery')}"  <if condition="$cur eq '发货订单'">class="nab-btn cur"<else/>class="nab-btn"</if>>发货订单</a>
				<a href="{:U('order_sale')}"  <if condition="$cur eq '售后订单'">class="nab-btn cur"<else/>class="nab-btn"</if>>售后订单</a>
			</div>
		</div>
		
		
		<!--  右侧内容  -->
		<div class="content">
			
			<div class="ct-title">
				<div class="ctt-bt">全部订单</div>
			</div>
			
			<div class="ct-tj">
				<div class="ctt-mc">数据统计</div>
				<div class="ctt-box">
					<h3>{$order_count}笔</h3>
					<span>订单数量</span>
				</div>
				<div class="ctt-box">
					<h3>{$total_price}元</h3>
					<span>收款金额</span>
				</div>
				<div class="ctt-box">
					<h3>{$order_sale}笔</h3>
					<span>售后订单</span>
				</div>
				<div class="divclear"></div>
			</div>
			
			<form action="" method="POST">
			<div class="ct-cx">
				<select name="type">
					<option value="1" <if condition="$type eq 1">selected</if>>订单号</option>
					<option value="2" <if condition="$type eq 2">selected</if>>收货人姓名</option>
					<option value="3" <if condition="$type eq 3">selected</if>>收货人手机号</option>
				</select>
				<select name="status">
					<option value="">订单状态</option>
					<option value="1" <if condition="$status eq 1">selected</if>>待发货</option>
					<option value="2" <if condition="$status eq 2">selected</if>>已发货</option>
					<option value="8" <if condition="$status eq 8">selected</if>>已取消</option>
					<option value="4" <if condition="$status eq 4">selected</if>>已完成</option>
				</select>
				<input type="text" placeholder="输入关键词查询" class="ctc-wb" name="name" value="{$name}">
				<button class="ctc-btn1" type="submit">查询</button>
				
				<div class="divclear"></div>
			</div>
			</form>
			
			<div  class="ct-table">
				<table border="0" width="100%">
					<tbody class="gg">
						<tr>
						  <th scope="col" width="25%" style="border-top-left-radius: 6px;">书籍信息</th>
						  <th scope="col" width="10%">订单编号</th>
						  <th scope="col" width="10%">下单时间</th>
						  <th scope="col" width="10%">下单人</th>
						  <th scope="col" width="10%">收货人</th>
						  <th scope="col" width="10%">实收金额</th>
						  <th scope="col" width="10%">支付方式</th>
						  <th scope="col" width="6%">订单状态</th>
						  <!-- <th scope="col" width="9%" style="border-top-right-radius: 6px;">操作</th> -->
						</tr>
						<volist name="list" id="item">
							<tr>
							  <td>
							  	<volist name="item.good_list" id="itemm">
									<div class="ctt-pro">
										<div class="cttp-img">
											<img src="{$itemm.img}" />
										</div>
										<div class="cttp-wz">
											<div class="cttpw-bt">{$itemm.name}</div>
											<div class="cttpw-sl">x{$itemm.count}</div>
										</div>
										<div class="divclear"></div>
									</div>
								</volist>
							  </td>

							  <td>{$item.order_sn}</td>
							  <td>{$item.create_time}</td>
							  <td>{$item.username}<br>{$item.mobile}</td>
							  <td>{$item.get_username}<br>{$item.get_mobile}</td>
							  <td>{$item.pay_price}</td>
							  <td>{$item.pay_type}</td>
							  <td>{$item.status}</td>
							  <!-- <td></td> -->

							</tr>
						</volist>
				 	</tbody>
				</table>
			</div>
			
			
			<div class="page">
	            {$_page}
	        </div>

			
			
		</div>
		
		
	</div>
	
	
</body>
</html>
